import { getAction, deleteDataAction, putAction, postAction, downFilePost } from '@/api/manage'
const serviceName = 'incident-server'
const serviceName2 = 'alarm-server'
// 总数统计
const getList = params => getAction(`${serviceName}/keywords/list`, params)
const editStatus = params => putAction(`${serviceName}/keywords/editStatus`, params)
const batchEditStatus = params => putAction(`${serviceName}/keywords/batchEditStatus`, params)

const save = params => putAction(`${serviceName}/keywords/save`, params)
// const getAreaTotal = params => getAction(`${serviceName}/keyArea/total`, params)

export {
  // 总数统计
  getList,
  editStatus,
  batchEditStatus,
  save
}